var xmpp = require('node-xmpp');

console.log('xmpp is running..');

// set up the server
var c2s = new xmpp.C2SServer({
        port: 5222,
        domain: 'localhost'
});

// on connect event. When a client connects.
c2s.on("connect", function(client) {
        console.log('connect eventi occors.');
});
